package com.xuan.yrmanage.dao.repository;



import com.xuan.yrmanage.domain.Menu;
import com.xuan.yrmanage.domain.view.MenuView;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuRepository {

    List<Menu> findAll(@Param("start") int start, @Param("size") int size, @Param("name") String name);

    List<Menu> getAllByLevel();

}
